home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / DJINC106.ARJ / INCREMEN.H < prev    next >
C/C++ Source or Header  |  1992-03-09  |  526b  |  15 lines

  1. /* This file may have been modified by DJ Delorie (Jan 1991).  If so,
  2. ** these modifications are Coyright (C) 1991 DJ Delorie, 24 Kirsten Ave,
  3. ** Rochester NH, 03867-2954, USA.
  4. */
  5.  
  6. #ifndef Incremental_h
  7. #define Incremental_h
  8. #define DECLARE_INIT_FUNCTION(USER_INIT_FUNCTION) \
  9. static void USER_INIT_FUNCTION (); extern void (*_initfn)(); \
  10. static struct xyzzy { xyzzy () {_initfn = USER_INIT_FUNCTION;}; \
  11. ~xyzzy () {};} __2xyzzy;
  12. #else
  13. #error Incremental.h was not the first file included in this module
  14. #endif
  15.